//
//  SCBrandTableHeaderView.h
//  Shuaiche
//
//  Created by dangshuai on 2018/12/26.
//  Copyright © 2018 zzs. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Brand+CoreDataClass.h"

NS_ASSUME_NONNULL_BEGIN

@protocol SCBrandTableHeaderViewDelegate <NSObject>

- (void)brandTableHeaderViewDidSelectedName:(NSString *)brandName brandId:(NSInteger)bid;

@end

@interface SCBrandTableHeaderView : UIView
@property (nonatomic, weak) id<SCBrandTableHeaderViewDelegate> delegate;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, assign) NSInteger usedType;
@property (nonatomic, assign) BOOL hasSelected;
- (void)updateData;

@end

@interface SCBrandTableHeaderItem : UIView
@property (nonatomic, strong) UIImageView *logoImageView;
@property (nonatomic, strong) UILabel *nameLabel;
@property (nonatomic, assign) NSInteger bid;
@end

NS_ASSUME_NONNULL_END
